package com.bestcem.xm.award.service.dto.requestaward;

import com.bestcem.xm.award.entity.pojo.AwardAwardDO;
import com.bestcem.xm.award.entity.pojo.AwardRequestDO;
import com.bestcem.xm.award.enums.DeviceTypeEnum;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 答题端完成答卷获取奖励返回结果
 *
 * @author jie.yao <jie.yao@idiaoyan.com>
 * @version v1.0
 * @date 2021/6/30 18:03
 */
@ToString
@NoArgsConstructor
@Getter
@Setter
public class RequestAwardDTO {

    /**
     * 返回结果状态
     */
    private Boolean status;

    /**
     * 返回结果
     */
    private String message;

    /**
     * AWARD_AWARD数据
     */
    private AwardAwardDO awardAwardDO;


    /**
     * 投放信息
     */
    private AwardRequestDO.Deliver deliver;

    /**
     * AWARD_REQUEST数据
     */
    private AwardRequestDO awardRequestDO;

    /**
     * 答题端ip
     */
    private String remoteIp;

    /**
     * 设备信息 {@link DeviceTypeEnum}
     */
    private Integer tty;

    /**
     * 设备访问次数
     */
    private Integer vt;
}
